package com.alex.util.path;

import java.util.Collections;
import java.util.HashSet;
import java.util.Set;

public class Excludor {


    private Set<String> excludes;

    public Excludor() {
        if (this.excludes == null) {
            this.excludes = new HashSet();
            excludes.add("/push");
        }
        Collections.addAll(this.excludes);
    }

    public void setExcludes(Set<String> excludes) {
        this.excludes.addAll(excludes);
    }

    public Set<String> getExcludes() {
        return this.excludes;
    }

    public void addExcludor(String excludor) {
        excludes.add(excludor);
    }
}
